package com.example.utils;

/**
 * 信息CODE
 * Created by tony on 2017/7/4.
 */
public enum ResultStatusCode {
    OK(0, "OK"),
    SYSTEM_ERR(30001, "System error"),
    MATERIALIDMISS(40001,"查询物料不存在！");
    private int code;
    private String msg;
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    private ResultStatusCode(int Code, String Msg)
    {
        this.code = Code;
        this.msg = Msg;

    }
}
